package com.ccys.cms.service.marketing;


import com.ccys.common.vo.ResponseResult;
import com.ccys.db.dto.marketing.AdvertiseDTO;
import com.ccys.db.entity.TblAdvertisement;
import com.ccys.db.rely.service.BaseService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 广告管理
 */
public interface AdvertiseWebService extends BaseService<TblAdvertisement> {


    /**
     * 查询列表
     *
     * @param request
     * @param response
     * @param dto
     * @return
     */
    public ResponseResult listObjectsCms(HttpServletRequest request, HttpServletResponse response, AdvertiseDTO dto);

    /**
     * 添加修改
     * @param entity
     * @return
     */
    public ResponseResult change(TblAdvertisement entity);

    /**
     * 删除
     * @param dto
     * @return
     */
    public ResponseResult delete(TblAdvertisement dto);


       /**
        * @description 查询详情
        * @date     2023/12/25
        * @author   cloud fly
        */
    ResponseResult getDetail(AdvertiseDTO dto);
}